﻿using System;

namespace YawetagLib.Data.Mapping
{
    [AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
    public class DataContextMappingAttribute : Attribute
    {
        public DataContextMappingAttribute(Type dataContextType) 
        {
            DataContextType = dataContextType;
        }

        public Type DataContextType { get; private set; }
    }
}
